package ch1;

/**
 * @author ANG.YU
 * @date 2020-08-07 15:51
 */
public class ShapeTest {
    static void doStuff(Shape s) {
        s.draw();
        s.erase();
        s.getColor();
        s.setColor();
        s.move();
    }

    public static void main(String[] args) {
        Circle c = new Circle();
        Triangle t = new Triangle();
        doStuff(c);
        doStuff(t);
    }
}
